package cn.com.darly.vpm.bizapi;

import cn.com.darly.vpm.framework.base.BaseController;
import cn.com.darly.vpm.mobile.api.BaseMobileApi;
import cn.com.darly.vpm.security.system.bean.SystemLog;
import cn.com.darly.vpm.security.system.service.SystemLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Author : ZhangYuHui
 * Date : 2017/11/13
 * TODO : 保存日志信息类
 */
@Service
public class BaseMobileBiz extends BaseController implements BaseMobileApi {

    @Autowired
    SystemLogService systemLogService;

    @Override
    public void saveLog(SystemLog log) {
        systemLogService.save(log);
    }
}